-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps: bump go-getter to 1.5.4 #10778
Conversation
7c710c0
to
fbf9acd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The line between improvement vs bug seems very fuzzy to me. Is it worth backporting to 1.0.X? Though, dependency changes curry a bit of risk so it makes sense not to backport if we don't have to.
fbf9acd
to
f189712
Compare
f189712
to
b8dfdfd
Compare
I don't have a strong opinion on that but seeing as how this was Support-facing, we should probably plan on backporting. I've modified the changelog based on that. |
@@ -289,7 +298,7 @@ func (c *Client) Get() error { | |||
// if we're specifying a subdir. | |||
err := g.Get(dst, u) | |||
if err != nil { | |||
err = fmt.Errorf("error downloading '%s': %s", src, err) | |||
err = fmt.Errorf("error downloading '%s': %s", u.Redacted(), err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, this line is particularly interesting (the optional insecure config aside). 🤔
My thinking being that this method would help certain, but not all cases where credentials are included as part of the URL. Not totally sure how I feel about it, but not a reason to block the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be nice to introduce in other use cases in go-getter itself, for sure.
PR #10778 incidentally changed the api http client to connect with HTTP/2 first. However, the websocket libraries used in `alloc exec` features don't handle http/2 well, and don't downgrade to http/1 gracefully. Given that the switch is incidental, and not requested by users. Furthermore, api consumers can opt-in to forcing http/2 by setting custom http clients.
* api: revert to defaulting to http/1 PR #10778 incidentally changed the api http client to connect with HTTP/2 first. However, the websocket libraries used in `alloc exec` features don't handle http/2 well, and don't downgrade to http/1 gracefully. Given that the switch is incidental, and not requested by users. Furthermore, api consumers can opt-in to forcing http/2 by setting custom http clients. Fixes #10922
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Fixes #10438